package com.xhwl.data.service;

import com.xhwl.common.dto.cent.face.AddFaceDTO;
import com.xhwl.common.dto.cent.face.DelFaceDTO;
import com.xhwl.common.pojo.ResultJson;
import com.xhwl.common.vo.cent.face.DelFaceListVO;
import com.xhwl.common.vo.cent.face.QueryFaceVO;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "cent-face")
public interface IFaceCentService {
    /**
     * 添加用户人脸
     */
    @RequestLine(value = "POST /face/single/user/add")
    ResultJson<QueryFaceVO> addingAcquaintanceFace(@RequestBody AddFaceDTO dto);
    /**
     * 根据用户删除人脸
     */
    @RequestLine(value = "POST /face/delete/user")
    ResultJson<DelFaceListVO> deleteAccountFace(@RequestBody DelFaceDTO dto);
}
